package com.example.yiwei.crm.base;

/**
 *
 * Created by Administrator on 2016/12/7.
 */
//接口地址定义的类

public class baseClass {
//        public static final String base_url="http://180.166.118.130";
    //测试服务器地址

//    public static final String base_url="http://42.202.130.20:9527/YWCRM";
//     public static final String base_url="http://172.16.30.78:8080/YWCRM";
//public static final String base_url="http://172.16.30.60:9000/YWCRM";
   public static final String base_url="http://192.168.1.36:8080/YWCRM";
    //正式服务器地址
  //      public static final String base_url="http://crm.xsjyk.net:9527";
//    登录接口
    public static  final  String log_URL=base_url+"/app_login";
    // 获取版本接口
    public static final String get_Vresion_URL = base_url+"/appbasic/findTop1APP1";
    //查询所有的客户信息接口地址
    public static final String query_simple_customer_message_url = base_url+"/app/find?currentPage=";
    //按照客户ID查询详细的客户信息的接口地址
    public static final String query_detailed_customer_message_url = base_url+"/app/findDt?KAA01=";
    //删除客户的接口地址
    public static final String delete_customer_message_url = base_url+"/app/delete?KAA01=";
    //添加客户信息的接口地址
    public static final String add_customer_message_url = base_url+"/app/save";
    //查询spinner内填充的字段的接口地址
    public static final String query_spinner_content_url = base_url+"/app/goAdd";
    //修改客户信息的接口地址
    public static final String update_customer_message =base_url+ "/app/editAll";


    //查询所有联系人信息的接口地址
    public static final String queryall_contact_message_url = base_url+"/app/findlxrAll?currentPage=1";
    //按照联系人id查询联系人详细信息的接口地址
    public static final String query_contact_message_url = base_url+"/app/findlxr?KLA01=";
    //新增联系人信息的接口地址
    public static final String add_contact_message_url = base_url+"/app/savelxr";
    //修改联系人信息接口地址
    public static final String update_contact_message = base_url+"/app/editlxr";
    //删除联系人接口地址
    public static final String delete_contact_url = base_url+"/app/deletelxr?KLA01=";


    //根据客户ID查询该客户的所有联系人接口地址
    public static final String find_all_contact = base_url+"/app/findklxrAll?KAA01=";


    //查询客户池的所有客户信息的接口地址
    public static final String find_all_customer_url =base_url+ "/app/findc?currentPage=";
    //客户界面按姓名关键字搜索客户接口地址
    public static final String customer_search_url =base_url+ "/app/query?KAA02=";
    //客户池界面按姓名关键字搜索客户接口地址
    public static final String another_customer_search_url = base_url+"/app/queryc?KAA02=";
    //联系人界面按姓名关键字搜索联系人接口地址
    public static final String contact_search_url=base_url+"/app/querylxr?KLA02=";


    //查询线索的所有信息接口地址
    public static final String query_all_clue_message_ul=base_url+"/app/findxs";
    //按id查询线索详细信息接口地址
    public static final String query_detailed_clue_message_url=base_url+"/app/findxsa?XAA01=";
    //删除线索信息接口地址
    public static final String delete_clue_message_url=base_url+"/app/deletexs?XAA01=";
    //修改线索信息接口地址
    public static final String update_clue_message_url=base_url+"/app/editxs";
    //新增线索接口地址
    public static final String add_clue_message_url=base_url+"/app/savexs";
    //搜索线索接口地址
    public static final String clue_search_url=base_url+"/app/queryxs?XAA03=";
    //线索转化为客户接口地址
    public static final String ClueToCustomer_url=base_url+"/app/change";


    //查询所有负责人接口地址
    public static final String query_manager_url=base_url+"/appbasic/listUAB01";
    //查询负责人详细信息接口地址
    public static final String query_detailed_manager_url=base_url+"/app/findfzrDt?UAB01=";

    //搜索线索池接口地址
    public static final String clue_group_search_url=base_url+"/app/queryxsc?XAA03=";
    //查询线索池接口地址
    public static final String clue_group_url=base_url+"/app/findxsc";

    //查询预约信息Spinner的值
    public static final String query_appointment_spinner_message=base_url+"/app/goAddyu";
    //新建预约信息接口地址
    public static final String create_appointment_message=base_url+"/app/saveyu";
    //查询所有预约信息接口地址
    public static final String find_appointment_message=base_url+"/app/findyu?KAA01=";
    //删除预约信息接口地址
    public static final String delete_appointment_message=base_url+"/app/deleteyu?KYA01=";
    //查询详细预约信息接口地址
    public static final String query_detailed_appointment_message_url=base_url+"/app/findyux?KYA01=";


    //查询所有预约信息(按医院区分)的接口地址
    public static final String query_all_appointment_message=base_url+"/app/findyus?currentPage=";
    //查询用户信息的接口地址
    public static final String query_mine_message=base_url+"/app/findr?UAB01=-1";
    //显示所有可领的取客户的接口地址
    public static final String query_all_receive_customer=base_url+"/app/findlq?currentPage=";
    //显示领取客户的详细信息接口地址
    public static final String query_detailed_receive_customer_url=base_url+"/app/findlqd?KAA01=";
    //领取客户的接口地址
    public static final String receive_customer_url=base_url+"/app/editlq?KAA01=";

    //显示所有今日需联系的信息的接口地址
    public static final String simple_need_contact_url=base_url+"/app/findxlx?KAA28=";
    //显示所有今日已预约的信息的接口地址
    public static final String simple_alReady_appointment_url=base_url+"/app/findyyy?KAA28=";
    //显示所有今日需回访的信息的接口地址
    public static final String simple_need_return_url=base_url+"/app/findxhf?KAA28=";
    //显示所有今日已回访的信息的接口地址
    public static final String simple_alReady_return_url=base_url+"/app/findyhf?KAA28=";

    //添加沟通日志的接口地址
    public static final String add_contact_log_url=base_url+"/app/saverz";
    //修改沟通日志的接口地址
    public static final String update_contact_log_url=base_url+"/app/editrz?KGA01=";
    //查询沟通日志的接口地址
    public static final String  find_all_contact_log_url=base_url+"/app/findrz?KAA01=";
    //删除沟通日志的接口地址
    public static final String delete_communicate_log_url=base_url+"/app/deleterz?KGA01=";

    //我的客户
    public static final String query_mine_customer_url=base_url+"/app/findw?currentPage=";
    //查询对接人的信息接口
    public static final String query_docking_message_url=base_url+"/app/finddjr";
    //查询对接人详细信息接口地址
    public static final String query_detailed_docking_message_url=base_url+"/app/finddjrx?KDA01=";
    //新增对接人的信息接口
    public static final String add_docking_message_url=base_url+"/app/savedjr";
    //删除对接人的接口地址
    public static final String delete_docking_message_url=base_url+"/app/deletedjr?KDA01=";
    //修改对接人信息的接口地址
    public static final String update_docking_message_url=base_url+"/app/editdjr?KDA01=";

    //添加拜访的接口地址
    public static final String add_visit_url=base_url+"/app/savebf";
    //添加活动的接口地址
    public static final String add_activity_url=base_url+"/app/savehd" ;
    //查询添加拜访的spinner的值的接口地址
    public static final String find_visit_spinner_url=base_url+"/app/goEditbf";
    //查询所属部门信息的接口地址
    public static final String find_department_message_url=base_url+"/app/findbm";
    //查询活动的接口地址
    public static final String find_activity_message_url=base_url+"/app/findhd?KDA01=";
    //查询活动的详细信息的接口地址
    public static  final String find_detailed_activity_message_url=base_url+"/app/findhdx?KRA01=";
    //修改活动的接口地址
    public static final String edit_activity_message_url=base_url+"/app/edithd?KRA01=";
    //删除活动的接口地址
    public static final String delete_activity_message_url=base_url+"/app/deletehd?KRA01=";
    //查询拜访的接口地址
    public static final String find_visit_message_url=base_url+"/app/findbf?KDA01=";
    //修改拜访的接口地址
    public static final String edit_visit_message_url=base_url+"/app/editbf?KPA01=";
    //删除拜访的接口地址
    public static final String delete_visit_message_url=base_url+"/app/deletebf?KPA01=";
    //查询协作人接口
    public static final String find_coordination_url = base_url+"/appCooperation/findKxa1listPage?currentPage=";
    //保存和修改写作人接口
    public static final String edit_coordianation_URL = base_url+"/appCooperation/saveOrUpdateKxa1";
    //删除协作人接口
    public static  final String delect_coordianation_URL = base_url+"/appCooperation/delorrestoreKxa1";
    //查询省的信息
    public  static  final  String find_province_url = base_url+"/appbasic/findProvince";
    //查询市的信息
    public  static  final  String find_city_url = base_url+"/appbasic/findCity";
    //查询区的信息
    public  static  final  String find_area_url = base_url+"/appbasic/findArea";
    //查询单个协作人接口
    public static  final String find_coordination_url_d = base_url+"/appCooperation/goEditKxa1?";
    //查询对接人分组信息
    public  static final  String find_fz_URL = base_url +"/appbasic/listUAA01FZ";
    //查询对接人部门信息
    public  static final  String find_bm_URL = base_url +"/appbasic/listUAA01BM";
    //查询对接人操作日志
    public static final  String find_operation_Log_url = base_url+"/appCooperation/findKca1listPage?currentPage=";
    //查询对接人礼品记录
    public static  final  String find_coor_gift_URL = base_url+"/appCooperation/findKdb1listPage?currentPage=";
    //查询对接人拜访记录
    public static  final  String find_coor_bf_URL = base_url+"/appCooperation/findKpa1listPage?currentPage=";
    //查询协作人客户
    public static  final  String find_coor_allcustomer_URL = base_url+"/appCooperation/findKaa1listPage?currentPage=";
    //删除协作人客户接口
    public static final  String delete_coor_customer_URL = base_url+"/appCooperation/deleteKaa1";
    //修改协作人时查询单个客户接口
    public static final  String find_coor_customer_URL = base_url+"/appkaa1/allMsg";
    //新增客户预约信息医院接口
    public static final  String find_hospital_add_yy_URL = base_url+"/appbasic/findYY";
    //查找科室接口
    public static final  String find_KS_URL = base_url+"/appbasic/findKS";
    //查找病种分类
    public static final String find_BZFL_URL = base_url+"/appbasic/basicAkb1";
    //查找病种
    public static  final String find_BZ_URL = base_url+"/appbasic/basicAkm1";
    //添加预约
    public static final String SAVE_YUYUE_URL = base_url+"/appCooperation/saveKya1";
    //修改预约
    public static final String EDIT_YUYUE_URL = base_url+"/appCooperation/editKya1";
    //查找渠道分类
    public static final String find_QDFL_URL = base_url+"/appbasic/basicAkc1";
    //查找渠道
    public static final String find_QD_URL = base_url+"/appbasic/basicAkd1";
    //新增客户和修改客户接口
    public static final String add_coor_customer_URL = base_url+"/appCooperation/saveOrUpdateKaa1";
    //医疗类别
    public static final String find_YLLB_URL = base_url+"/appbasic/basicAke1";
    //查询协作预约信息
    public static final String find_coor_yu_URL = base_url+"/appCooperation/findKya1listPage?currentPage=";
    //删除协作预约信息
    public static final String delect_coor_yu_URL = base_url+"/appCooperation/deleteKya1";
    //指派接待人员
    public static final String coor_ZP_URL = base_url+"/appCooperation/editkya78";
    //删除协作拜访记录
    public static final String delect_coor_bf_URL = base_url+"/appCooperation/deleteKpa1";
    //查询拜访优先级别
    public static final String find_YXJB_URL = base_url+"/appbasic/basicAkj1";
    //查询拜访任务状态
    public static final String find_RUZT_URL = base_url+"/appbasic/basicAkk1";
    //修改协作拜访
    public static final String edit_BF_URL = base_url+"/appCooperation/saveOrUpdateKpa1";
    //查询协作人的沟通日志
    public static final String find_coording_communication=base_url+"/appCooperation/findKga1listPage?currentPage=";
    //查询沟通人的Spinner的接口
    public static final String coording_communication_spinner=base_url+"/appbasic/listUAB01";
    //添加协作人的沟通日志
    public static final String add_coording_communication_url=base_url+"/appCooperation/saveKga1";
    //打卡的接口地址
    public static final String clock_url=base_url+"/appCooperation/saveUam1";
    //查询打卡记录的接口地址
    public static final String find_clock_record=base_url+"/appCooperation/findUam1listPage?currentPage=";
    //查询科室接口
    public static final String find_KSBM_URL = base_url+"/add1/listAll";
    //查询所有预约的接口地址
    public static final String find_AllYY_URL=base_url+"/appCooperation/listKXA1Page?currentPage=";
    //填写满意度的接口地址
    public static final String add_manyidu_url=base_url+"/appCooperation/updateKYA82";
    //查询单个协作人接口
    public static final String find_coording_message_url=base_url+"/appCooperation/findOneKxa1";
    //查看客户预约记录
    public static final String find_customer_apo_URL = base_url+"/appkaa1/listPage?currentPage=";
    //查看客户的沟通日志
    public static final String find_customer_comm_URL = base_url+"/appkaa1info/listPageKga1?currentPage=";
    //查询操作日志
    public static final String find_customer_oplog_URL = base_url+"/appkaa1info/listPageKca1?currentPage=";
    //查询客户详细信息
    public static final String find_customer_msg = base_url+"/appkaa1/allMsg";
    //添加沟通日志
    public static final String add_customer_comm = base_url+"/appkaa1info/saveOrUpdateKga1";
    //团队成员的接口地址
    public static final String query_team_member_url=base_url+"/appkaa1info/listPage?currentPage=";
    //取团队成员的Spinner的接口
    public static final String query_team_member_spinner_url=base_url+"/appbasic/listUAB01";
    //添加团队成员的接口地址
    public static final String add_team_member_url=base_url+"/appkaa1info/saveOrUpdate";
    //删除团队成员的接口地址
    public static final String delete_team_member_url=base_url+"/appkaa1info/del";
    //查找满意度
    public static final String find_myd_msg_URL = base_url+"/appCooperation/findKYA1";
    //添加满意度
    public static final String add_myd_URL = base_url+"/appKAA1JIA/saveKMA1";
    //权限接口
    public static final String find_qx_URL = base_url+"/appbasic/appChangeMenu";
    //修改密码接口
    public static final String update_password_url=base_url+"/appbasic/editPwd";
    //查询单个满意度接口
    public static final String find_one_myd_msg_URL = base_url+"/appCooperation/findOneKYA1";
    //查询交流量
    public static final String find_JL_msg_URL = base_url+"/appCooperation/datalistPage?currentPage=";
    //拜访方式下拉列表
    public static final String find_bf_fs_sp_URL = base_url+"/appCooperation/findListABF1";
    //添加交流记录
    public static final String addoredit_jl_URL = base_url+"/appCooperation/saveorupdate";
    //查询单条交流记录
    public static final String find_one_jl_URL = base_url+"/appCooperation/goEdit";
    //删除交流记录
    public static final String delete_jl_url=base_url+"/appCooperation/deleteKja";


    //查询所有客户接口
    public static final String find_ALL_CUSTOMER_URL = base_url+"/appcustomer/findCustomerListPage?currentPage=";
    //精准搜索客户
    public static final String find_JZ_CUSTOMER_URL = base_url+"/appcustomer/listAllQueryCustom?currentPage=";
    //精准搜索预约信息
    public static final String find_JZ_ApoMent_URL = base_url+"/appcustomer/listAllQueryYY?currentPage=";


    //线索管理的列表接口地址
    public static final String find_healthEducation_clue_url=base_url+"/appHealthEducation/findXaa1listPage?currentPage=";
    //查询活动部门
    public static final String find_dock_bm_URL = base_url+"/appHealthEducation/listHealth";
    //新增线索的接口地址
    public static final String add_clue_url=base_url+"/appHealthEducation/saveOrUpdateXaa1";

    //查询接待人的接口地址
    public static final String find_all_jd_url=base_url+"/appCooperation/listJD?";
    //查询机构属性的接口地址
    public static final String find_jgsx_url=base_url+"/appCooperation/listAKN";
    //查询接待审核列表接口地址
    public static final String find_all_sh_message_url=base_url+"/appKAA1JIA/jdmydshlistPage?currentPage=";
    //更改审核人状态
    public static final String edit_sh_state_url=base_url+"/appKAA1JIA/saveKMA1?";
    //添加满意度查询客户接口
    public static final String find_myd_all_customer = base_url+"/appKAA1JIA/kaalistPage?currentPage=";
    //删除满意度接口
    public static final String delete_manyidu_url=base_url+"/appKAA1JIA/delKMA1?";
    //上传照片
    public static final String upload_img_URL =base_url+ "/appCooperation/saveFile?";
    //接待查询满意度接口
    public static final String find_jd_myd_URL = base_url+"/appKAA1JIA/xiashulistPage?currentPage=";
    //地址转化为经纬度的接口
    public static final String address_change_url="http://api.map.baidu.com/cloudgc/v1?ak=3uHGAAGcwG0uBDmQ66aafYVy9cEGI9Rr&address=";
    //坐标转化为地址的接口
    public static final String jwd_change_url="http://api.map.baidu.com/cloudrgc/v1?ak=3uHGAAGcwG0uBDmQ66aafYVy9cEGI9Rr&geotable_id=180210&location=";
    //追加负责人
    public static final String zj_manger_url = base_url+"/appHealthEducation/changeToKtb";
    //查询位置比对范围
    public static final String find_fanwei=base_url+"/appbasic/findZZZBFW";

    //新任务消息接口
    public static final String new_work_message_URL = base_url+"/appKAA1JIA/xiaoxilistPage?currentPage=";

    //消息修改接口
    public static final String edit_work_message_URL = base_url+"/appKAA1JIA/saveXXB1";
    //审核消息
    public static final String sh_messa_URL = base_url+"/appKAA1JIA/mydshxxlistPage?currentPage=";
    //审核消息标记已读
    public static final String edit_state_sh_message_URL = base_url+"/appKAA1JIA/saveXXM1";
    //申请用车
    public static final String User_car_URL  = base_url+"/appKAA1JIA/saveYCSQ";
    //查询客户
    public static final String Find_customer_all =base_url+ "/appKAA1JIA/listKYA1";
    //查询事由
    public static final String Find_Reason_URL = base_url+"/appKAA1JIA/findCSK1";
    //用车申请记录
    public static final String User_car_Message = base_url+"/appKAA1JIA/listCSC1";
}

